﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace MyWCF.Demo.Contracts.Calculator
{
    [ServiceContract(Name = "Calculator", Namespace = "http://www.yesnoa.com")]
    public interface ICalculator
    {
        [OperationContract(Name = "CalculatorAdd")]
        double Add(int x, int y);
        [OperationContract]
        double Subtract(int x, int y);
    }
}
